﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace TimeToGo.Configuration
{
    internal class TimeInfoConfigurationElement : ConfigurationElement
    {
        [ConfigurationProperty("name", DefaultValue = "", IsKey = true, IsRequired = true)]
        public string Name
        {
            get { return (string)base["name"]; }
            set { base["name"] = value; }
        }

        [ConfigurationProperty("time", DefaultValue = "", IsKey = false, IsRequired = true)]
        public DateTime Time
        {
            get { return (DateTime)base["time"]; }
            set { base["time"] = value; }

        }
    }
}
